<template>
  <div id="app">
    <el-header class="header">
      <top-nav/>
    </el-header>
    <el-main class="main" style="padding: 0">
      <router-view/>
    </el-main>
  </div>
</template>

<script>
import TopNav from './components/nav/TopNav'

export default {
  name: 'app',
  components: {
    TopNav
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
#app .header{
  padding: 0;
}
body{
  margin: 0;
}
</style>
